import router from './router'
import store from './store'
router.beforeEach((to, from, next) => {
  if (to.meta.column === '2' && !store.getters.app_tabBar.index) {
    next({ path: '/home/index' })
  } else {
    next()
  }
})
